﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="AiXiu.WebSite.Login" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no" />
    <title>登录</title>
    <link href="Content/mui/css/mui.min.css" rel="stylesheet" />
    <link href="Content/mui/css/app.css" rel="stylesheet" />
    <style type="text/css">
        .auto-style1 {
            margin-left: 0px;
        }

        .area {
            margin: 20px auto 0px auto;
        }

        .mui-input-group:first-child {
            margin-top: 20px;
        }

        .mui-input-group label {
            width: 26%;
        }

        .mui-input-row label ~ input,
        .mui-input-row label ~ select,
        .mui-input-row label ~ textarea {
            width: 42%;
            float: left;
        }

        .mui-checkbox input[type=checkbox],
        .mui-radio input[type=radio] {
            top: 6px;
        }

        .mui-content-padded {
            margin-top: 25px;
            padding-bottom: 20px;
        }

        .mui-btn {
            padding: 10px;
        }

        .link-area {
            display: block;
            margin-top: 25px;
            text-align: center;
        }

        .spliter {
            color: #bbb;
            padding: 0px 8px;
            font-size: 15px;
        }

        form > img {
            width: 100%;
        }


        #reg {
            background-color: #007aff;
        }


        .mui-input-row span {
            color: red;
        }

        .segmented {
            text-align: center;
            font-size: 18px;
        }

            .segmented a {
                display: inline-block;
                width: 48%;
                text-align: center;
                line-height: 42px;
                color: #007AFF;
                font-weight: bold;
            }

                .segmented a.active {
                    display: inline-block;
                    line-height: 50px;
                    width: 49%;
                    color: #fff;
                    font-size: 16px;
                    background-color: #007aff;
                    border-radius: 5px;
                }

        input[type=submit] {
            top: 0;
            left: 0;
        }
    </style>
</head>
<body>
    <div class="mui-content">
        <form id="form1" runat="server" class="mui-input-group">
            <img src="imgs/account-bg.jpg" />
            <div class="login-box">
                <div class="block">
                    <p class="segmented">
                        <a class="active" href="#">用户名密码登录</a>
                        <a href="Phone.aspx">手机号密码登录</a>
                    </p>
                </div>
                <div class="mui-input-row">
                    <label>用户名</label>
                    <asp:TextBox class="mui-input-clear mui-input" ID="txtUserName" MaxLength="16" TextMode="SingleLine" runat="server" PlaceHolder="请输入用户名"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvUserName" runat="server" ErrorMessage="用户名不能为空" ControlToValidate="txtUserName"></asp:RequiredFieldValidator>
                </div>
                <div class="mui-input-row">
                    <label>密码</label>
                    <asp:TextBox class="mui-input-clear mui-input" ID="txtPassword" MaxLength="32" TextMode="Password" runat="server" PlaceHolder="请输入密码"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="rfvPassword" runat="server" ErrorMessage="密码不能为空" ControlToValidate="txtPassword"></asp:RequiredFieldValidator>
                </div>
                <div>
                    <asp:Button ID="btnLogin" runat="server" Text="立即登录" CssClass="button button-fill button-large button-round btnsubmit" OnClick="btnLogin_Click" BackColor="#007AFF" ForeColor="White" Width="100%" />
                </div>
                <div class="mui-content-padded">
                    <div class="link-area">
                        <p>登录即代表您同意《用户服务协议》</p>
                        <p>没有账号？<a href="Register.aspx" class="close-login-screen external">现在注册</a></p>
                    </div>
                </div>
            </div>
        </form>
    </div>
</body>
</html>
